﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.View
{
    public class VStock
    {
        /// <summary>
        /// 物料Id
        /// </summary>
        public Guid MaterialId { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        public string MaterialCode { get; set; }
        /// <summary>
        /// 物料成本
        /// </summary>
        public decimal MaterialCost { get; set; }
        /// <summary>
        /// 物料单价
        /// </summary>
        public decimal MaterialPrice { get; set; }
        /// <summary>
        /// 物料分类名称
        /// </summary>
        public string MaterialCategoryName { get; set; }

        /// <summary>
        /// 物料单位名称
        /// </summary>
        public string MaterialUnitName { get; set; }
        public Guid Id { get; set; }

        /// <summary>
        /// 库存数量
        /// </summary>
        public decimal Count { get; set; }
        /// <summary>
        /// 库存成本
        /// </summary>
        public decimal Cost { get; set; }
        /// <summary>
        /// 库存平均成本
        /// </summary>
        public decimal AverageCost { get; set; }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public Guid WarehouseId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        public Guid BusinessId { get; set; }
        public Guid StationId { get; set; }
    }
}
